package com.whmskj.xjlhsc.stationmachine.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.whmskj.xjlhsc.controller.vo.Result;
import com.whmskj.xjlhsc.stationmachine.service.IRealTimeMachineInspectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiaruchun
 * @date 2025-09-18 11:20
 * @Description: 实时机台检测
 */
@SaIgnore
@RestController
@RequestMapping("/cockpit/realTimeMachineInspection")
public class RealTimeMachineInspectionController {
    @Autowired
    private IRealTimeMachineInspectionService realTimeMachineInspectionService;

    @GetMapping("/getRealTimeMachineInspection")
    public Result getRealTimeMachineInspection(){
        return Result.success(realTimeMachineInspectionService.getRealTimeMachineInspection());
    }
}
